I have computed a mixed model ( see the code below) to estimate treatment effects in a RCT study. I have three measure points (time 0, time 1 and time 2). I would like to get the effect size (Cohen's d) for time 1 and time 2. But I can not figure out how I can estimate Cohen’s d after a mixed model. I am familiar with the esize command, but using esize I can not take into account the dependency in my data ( three level model).
I would really appreciate if someone could tell me how to estimate Cohen’s d after mixed model.
Many thanks.
mixed dependent i.time 1.tretament#i(1/2).time ||classid:||id:
esize twosample dependent if time ==1, by(treatment)
esize twosample dependent if time ==2, by(treatment)
Comment